target:

run:
	g++ -o test198_ test198.cpp -I./include
	g++ -o test198p test198p.cpp -I./include
	g++ -o test199_ test199.cpp -I./include
	g++ -o plot198_ plot198.cpp -I./include
	g++ -o winner_ winner.cpp -I./include
	./test198_
	./test198p
	./test199_
	./plot198_
	./winner_

BASE = report
LATEX = story
PDF = $(BASE).pdf
DVI = $(BASE).dvi
TEX = $(BASE).tex
LOG = $(BASE).log
AUX = $(BASE).aux
OUT = $(BASE).out
TEX_TYPE = xelatex
DVI_PDF = dvipdfm

$(LATEX): $(PDF)

$(PDF): $(DVI)
	$(DVI_PDF) $^ -o
	
$(DVI): $(TEX)
	$(TEX_TYPE) $^

clean:
	-rm -r test198_ test198p test199_ plot198_ winner_ $(LOG) $(DVI) $(AUX) $(OUT) $(PDF)